using UnityEngine;

public class BulletController : MonoBehaviour
{
	public BULLET_TYPE bullettype;

	public int parent;

	public int hitDamage;

	public int penetrationVal;

	public bool isplayerbullet;

	public float movespeed;

	public AIController targetAI;

	public Transform targetTra;

	public Transform m_transform;

	public Vector3 endpos;

	public bool isshot;

	public float shotouttime;

	public int limitedtime;

	public bool InviewPos(Vector3 checkpos)
	{
		Vector3 vector = Camera.main.WorldToScreenPoint(checkpos);
		if (vector.z > 0f)
		{
			return true;
		}
		return false;
	}
}
